﻿using Swashbuckle.AspNetCore.Annotations;
using System;
using System.Collections.Generic;

#nullable disable

namespace Alison.EFCore.Entity
{
    /// <summary>
    /// Mqtt消息记录
    /// </summary>
    [SwaggerSchema(Title = "Mqtt消息记录权限MqttMessages", Description = "Mqtt消息记录权限MqttMessages")]
    public partial class Mqttmessage
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        [SwaggerSchema(Title = "Mqtt消息记录权限MqttMessages", Description = "主键ID")]
        public int Id { get; set; }

        /// <summary>
        /// 主题
        /// </summary>
        [SwaggerSchema(Title = "Mqtt消息记录权限MqttMessages", Description = "主题")]
        public string Topic { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        [SwaggerSchema(Title = "Mqtt消息记录权限MqttMessages", Description = "内容")]
        public string Payload { get; set; }

        /// <summary>
        /// 发送人ID
        /// </summary>
        [SwaggerSchema(Title = "Mqtt消息记录权限MqttMessages", Description = "发送人ID")]
        public string Sclientid { get; set; }

        /// <summary>
        /// 消息类型
        /// </summary>
        [SwaggerSchema(Title = "Mqtt消息记录权限MqttMessages", Description = "消息类型")]
        public string Messagetype { get; set; }

        /// <summary>
        /// 服务器IP
        /// </summary>
        [SwaggerSchema(Title = "Mqtt消息记录权限MqttMessages", Description = "服务器IP")]
        public string Serverip { get; set; }

        /// <summary>
        /// 客户端IP
        /// </summary>
        [SwaggerSchema(Title = "Mqtt消息记录权限MqttMessages", Description = "客户端IP")]
        public string Clientip { get; set; }

        /// <summary>
        /// 发送时间
        /// </summary>
        [SwaggerSchema(Title = "Mqtt消息记录权限MqttMessages", Description = "发送时间")]
        public DateTime? Sendtime { get; set; }
    }
}
